
using System;
using WineCellar.Core.Interfaces;

namespace WineCellar.Core.PropertyParsers
{
    public class DefaultPropertyParser :IPropertyParser
    {
        public bool IsEmpty(object value)
        {
            return (value == null) || string.IsNullOrEmpty(value.ToString());
        }

        public bool IsParsable(Type type)
        {
            return true;
        }
    }
}